KERNELDIR := /home/tiny/workdir/kernel/linux-imx-rel_imx_4.1.15_2.1.0_tiny
CURRENT_PATH := $(shell pwd)

obj-m = newchrled.o

build:kernel-modules

kernel-modules:
	$(MAKE)	-C	$(KERNELDIR) M=$(CURRENT_PATH) modules
clean:
	$(MAKE)	-C	$(KERNELDIR) M=$(CURRENT_PATH) clean